#include "mainwindow.h"
#include <QApplication>

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);

    MainWindow w; //实例化，创建对象
    w.show();

    return a.exec();//界面停留
}
